/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.statehome.idao;

import java.util.List;

/**
 *
 * @author Rodrigo
 */

public interface IDao<T> {

    boolean cadastrar(T object);

    boolean remover(T object);

    T buscar(String documento);

    List<T> listar();

    List<T> listarPorNome(String nome);

    boolean alterar(T object);
}
